package com.per.mybootall.designMode.agencyModel.dynamicModel;

/**
 * Created with IntelliJ IDEA.
 *
 * @author: yyy
 * Date: 2022/1/18
 * Time: 11:02
 * Description:动态代理【这是被代理的class】
 */
public class YyySay implements Hello {
  @Override
  public void sayHello(String name) {
    System.out.println("yyy说：hello"+name);
  }

  @Override
  public void sayBay(String name) {
    System.out.println("yyy说：bay"+name);
  }
}
